/*
 * @Author: 詹真琦(legendryztachi@gmail.com)
 * @Date: 2022-05-17 17:27:32
 * @LastEditors: 詹真琦(legendryztachi@gmail.com)
 * @LastEditTime: 2022-05-17 18:04:30
 * @FilePath: \code\ctp-static-portal-front\.husky\lintstagedrc.js
 * @Description:
 */
module.exports = {
    '*.{js,jsx,ts,tsx}': ['eslint --fix', 'prettier --write'],
    '{!(package)*.json,*.code-snippets,.!(browserslist)*rc}': ['prettier --write--parser json'],
    'package.json': ['prettier --write'],
    '*.vue': ['eslint --fix', 'prettier --write', 'stylelint --fix'],
    '*.{scss,less,styl,html}': ['stylelint --fix --allow-empty-input', 'prettier --write'],
    '*.md': ['prettier --write'],
};
